package com.xy.biz.uc.domain.enums;

import com.xy.lang.enums.CodeEnum;

public enum UserTypeEnum implements CodeEnum {

    CUSTOMER(0, "客户"),
    MERCHANT(1, "商家"),
    PLATFORM(2, "平台"),
    DEV_OPS(3, "运维");

    private int code;
    private String desc;

    UserTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
